package com.cn.shuangzi.userinfo.permission;

import android.Manifest;
import android.app.Activity;

import com.cn.shuangzi.userinfo.R;
import com.cn.shuangzi.permission.RequestPermissionHelper;
import com.cn.shuangzi.permission.RequestPermissionViewP;


/**
 * 动态申请照相机权限
 * Created by CN on 2017-10-20.
 */

public class RequestCameraPermissionHelper extends RequestPermissionHelper {
    private static final String[] permissionArrays = {Manifest.permission.CAMERA,Manifest.permission.WRITE_EXTERNAL_STORAGE};
    private static final int[] permissionInfo = {R.string.open_camera_permit, R.string.open_storage_permit};
    public RequestCameraPermissionHelper(Activity context, RequestPermissionViewP requestPermissionViewP) {
        super(context, requestPermissionViewP, permissionArrays, permissionInfo);
    }
}
